using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;

namespace Yozeev.BusinessLogic
{
    /// <summary>
    /// 站点可售票
    /// </summary>
    public class TicketStationEnable : ByBranchEntity<Guid>
    {
        /// <summary>
        /// 售票站点标识
        /// </summary>
        public Guid StationId { get; set; }
        [ForeignKey("StationId")]
        public virtual TicketStation Station { get; set; }
        /// <summary>
        /// 票型标识
        /// </summary>
        public Guid TicketId { get; set; }
        [ForeignKey("TicketId")]
        public virtual Ticket Ticket { get; set; }
    }
}
